import { request } from '../request.js'
const proposer = {
	initData (params) {
	  return request({
	    method: 'Get',
	    url: '/api/agent/front/agentWithdraw/withdrawInfo',
	    params: params
	  })
	},
	drawlist (params) {
	  return request({
	    method: 'Get',
	    url: '/api/agent/front/agentWithdraw/withdrawRecord',
	    params: params
	  })
	},
	// 申请成为代理商
	applyForAgent (params) {
	  return request({
	    method: 'Post',
	    url: '/api/agent/front/agent/applyForAgent',
	    params: params
	  })
	},
	
	// 校验代理商手机号是否允许注册
	checkMobile (params) {
	  return request({
	    method: 'Get',
	    url: '/api/agent/agent/commn/checkMobile',
	    params: params
	  })
	},
	// 校验代理商优惠id时候有效
	checkSn (params) {
	  return request({
	    method: 'Get',
	    url: '/api/agent/agent/commn/checkSn',
	    params: params
	  })
	},
	// 代理商地址
	cityArea () {
	  return request({
	    method: 'Get',
	    url: '/api/cms/cityArea/comm/form'

	  })
	},
	}
export default proposer